package com.kk.dao;

import com.kk.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author: kevin
 * @date: 2018-10-14 20:35
 */
public interface RoleDao extends JpaRepository<Role, String> {

    List<Role> findByName(String name);
}
